package com.blockchain.coupon.entity;

/**
 * Created by wufaxiang on 2017/1/13.
 * 优惠券规则实体类
 */
public class CouponRule {

    private String couponRuleId;        // 结算券规则id
    private int exceedAmount;           // "满"额度
    private int presentationAmount;     // "送"额度
    private int isAccumulation;         // 是否累加
    private int limitAmount;            // 每人封顶额度
    private int issueTotalAmount;       // 发行总额
    private int issueTotalQuantity;     // 发行数量
    private String startTime;           // 发行期开始时间
    private String endTime;             // 发行期结束时间
    private int sendCouponAmount;		// 当前已发出的优惠券数量
    private int notUseCouponAmount;		// 当前已发出但未使用的优惠券数量
    private String couponRuleStatus;	// 发行规则状态  １：发行中　：２：已终止　３：已截止
    private String merchantId;          // 发行商户id

    @Override
    public String toString() {
        return "CouponRule{" +
                "couponRuleId='" + couponRuleId + '\'' +
                ", exceedAmount=" + exceedAmount +
                ", presentationAmount=" + presentationAmount +
                ", isAccumulation=" + isAccumulation +
                ", limitAmount=" + limitAmount +
                ", issueTotalAmount=" + issueTotalAmount +
                ", issueTotalQuantity=" + issueTotalQuantity +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", sendCouponAmount=" + sendCouponAmount +
                ", notUseCouponAmount=" + notUseCouponAmount +
                ", couponRuleStatus='" + couponRuleStatus + '\'' +
                ", merchantId='" + merchantId + '\'' +
                '}';
    }


    public String getCouponRuleId() {
        return couponRuleId;
    }

    public void setCouponRuleId(String couponRuleId) {
        this.couponRuleId = couponRuleId;
    }

    public int getExceedAmount() {
        return exceedAmount;
    }

    public void setExceedAmount(int exceedAmount) {
        this.exceedAmount = exceedAmount;
    }

    public int getPresentationAmount() {
        return presentationAmount;
    }

    public void setPresentationAmount(int presentationAmount) {
        this.presentationAmount = presentationAmount;
    }

    public int getIsAccumulation() {
        return isAccumulation;
    }

    public void setIsAccumulation(int isAccumulation) {
        this.isAccumulation = isAccumulation;
    }

    public int getLimitAmount() {
        return limitAmount;
    }

    public void setLimitAmount(int limitAmount) {
        this.limitAmount = limitAmount;
    }

    public int getIssueTotalAmount() {
        return issueTotalAmount;
    }

    public void setIssueTotalAmount(int issueTotalAmount) {
        this.issueTotalAmount = issueTotalAmount;
    }

    public int getIssueTotalQuantity() {
        return issueTotalQuantity;
    }

    public void setIssueTotalQuantity(int issueTotalQuantity) {
        this.issueTotalQuantity = issueTotalQuantity;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getSendCouponAmount() {
        return sendCouponAmount;
    }

    public void setSendCouponAmount(int sendCouponAmount) {
        this.sendCouponAmount = sendCouponAmount;
    }

    public int getNotUseCouponAmount() {
        return notUseCouponAmount;
    }

    public void setNotUseCouponAmount(int notUseCouponAmount) {
        this.notUseCouponAmount = notUseCouponAmount;
    }

    public String getCouponRuleStatus() {
        return couponRuleStatus;
    }

    public void setCouponRuleStatus(String couponRuleStatus) {
        this.couponRuleStatus = couponRuleStatus;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }
}
